package ru.silviasaint.fridge.client.widgets.component;

import com.google.gwt.user.client.ui.MultiWordSuggestOracle;
import com.google.gwt.user.client.ui.SuggestBox;
import com.google.gwt.user.client.ui.SuggestOracle;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.TextBoxBase;

public class AddNewSuggestBox extends SuggestBox {

private static final String STYLENAME_DEFAULT = "gwt-SuggestBox";
	public AddNewSuggestBox() {
		this(new MultiWordSuggestOracle());
	}

	public AddNewSuggestBox(SuggestOracle oracle) {
		this(oracle, new TextBox());
	}

	public AddNewSuggestBox(SuggestOracle oracle, TextBoxBase box) {
		super(oracle, box, new DefaultSuggestionDisplay());

	}

}
